package view {
    [Bindable]
    public class ImageLocator {
        import mx.collections.ArrayCollection;
        // Images for opening
        [Embed(source="images/enter.png")]
        public static var enter:Class;
        [Embed(source="images/enter_over.png")]
        public static var enterOver:Class;
        [Embed(source="images/enter_pressed.png")]
        public static var enterPressed:Class;

        // Images for control panel
        [Embed(source="images/sound_on.png")]
        public static var soundOn:Class;
        [Embed(source="images/sound_off.png")]
        public static var soundOff:Class;

        // Images for how to play
        [Embed(source="images/play.png")]
        public static var play:Class;
        [Embed(source="images/play_over.png")]
        public static var playOver:Class;
        [Embed(source="images/play_pressed.png")]
        public static var playPressed:Class;

        [Embed(source="images/next_level.png")]
        public static var nextLevel:Class;
        [Embed(source="images/next_level_pressed.png")]
        public static var nextLevelPressed:Class;
        [Embed(source="images/next_level_over.png")]
        public static var nextLevelOver:Class;
        [Embed(source="images/retry.png")]
        public static var retry:Class;
        [Embed(source="images/retry_pressed.png")]
        public static var retryPressed:Class;
        [Embed(source="images/retry_over.png")]
        public static var retryOver:Class;

        [Embed(source="images/empty.png")]
        public static var cellE:Class;
        [Embed(source="images/blue.png")]
        public static var cell0:Class;
        [Embed(source="images/brown.png")]
        public static var cell1:Class;
        [Embed(source="images/yellow.png")]
        public static var cell2:Class;
        [Embed(source="images/green.png")]
        public static var cell3:Class;
        [Embed(source="images/pink.png")]
        public static var cell4:Class;
        [Embed(source="images/purple.png")]
        public static var cell5:Class;

        [Embed(source="images/level_1.png")]
        private static var level1:Class;
        [Embed(source="images/level_2.png")]
        private static var level2:Class;
        [Embed(source="images/level_3.png")]
        private static var level3:Class;
        [Embed(source="images/level_4.png")]
        private static var level4:Class;
        [Embed(source="images/level_5.png")]
        private static var level5:Class;

        private static var _levels:ArrayCollection;
        public static function get levels():ArrayCollection {
            if (_levels == null) {
                _levels = new ArrayCollection([level1, level2, level3, level4, level5]);
            }
            return _levels;
        }
    }
}
